class wendurequest {
  String dateEnum= "DAY";
  List<String> ids = new List();
  String indexTypeEmun="";
  String queryDate;
  String whetherEnum="YES";

  wendurequest(
      {this.dateEnum,
        this.ids,
        this.indexTypeEmun,
        this.queryDate,
        this.whetherEnum});

  wendurequest.fromJson(Map<String, dynamic> json) {
    dateEnum = json['dateEnum'];
    ids = json['ids'].cast<String>();
    indexTypeEmun = json['indexTypeEmun'];
    queryDate = json['queryDate'];
    whetherEnum = json['whetherEnum'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['dateEnum'] = this.dateEnum;
    data['ids'] = this.ids;
    data['indexTypeEmun'] = this.indexTypeEmun;
    data['queryDate'] = this.queryDate;
    data['whetherEnum'] = this.whetherEnum;
    return data;
  }
}